<template>
  <div class="">
    <Authsys v-if="sysacc=='authSys'"></Authsys>
    <Worksys v-if="sysacc=='worderSys'"></Worksys>
  </div>
</template>

<script>

import Authsys from '@/views/index/authsys';
import Worksys from '@/views/index/worksys';

import { getSystem} from '@/utils/auth'

export default {
  name: "Index",
  components: {
    // 注册子组件
    Authsys,
    Worksys
  },
  data() {
    return {
      sysacc:getSystem()
    };
  },
  created() {
  },
  methods: {
  },
  computed:{
  }
};
</script>

<style scoped lang="scss">

</style>

